package com.wwwarehouse.common.constant;


public class Constant {
    public static final String WANGCANG3 = "appwangcang3";
    public static final String VORES = "appvores";

    // TODO: 2016/10/20  全局长期保存的数据
    public static final String sp_Person_Name = "sp_person_name";
    public static final String sp_Face_Url = "sp_face_url";
    public static final String sp_User_Account = "sp_user_account";
    public static final String sp_User_Id = "sp_user_id";
    public static final String sp_Token = "sp_token";
    public static final String sp_Env = "sp_env"; // 当前是那个环境，切换环境的时候赋值
    public static final String sp_Address_Version = "sp_address_version";
    public static final String sp_RegistrationID = "sp_RegistrationID";  //极光推送
    public static final String sp_EnvDefault = "sp_EnvDefault";  // 默认环境sp的key

    // 当前在某个环境的常量
    public static final String ENV_DEV = "env_dev";
    public static final String ENV_CIT = "env_cit";
    public static final String ENV_SIT = "env_sit";
    public static final String ENV_UAT = "env_uat";
    public static final String ENV_RELEASE = "env_release";
    public static final String ENV_DEFAULT = "env_cit"; // 当没有获取到默认环境的时候的默认环境
    public static final String ENV_DEV2 = "env_dev2";
    public static final String ENV_CIT2 = "env_cit2";
//    public static final String ENV_DEVOPS = "env_devops";

    // 不同环境的接口的base URL
    public static final String URL_BASE_DEV = "http://192.168.6.24:8080/gateway/";
    public static final String URL_BASE_CIT = "http://192.168.6.31:8080/gateway/";
    public static final String URL_BASE_SIT = "http://192.168.6.61:8080/gateway/";
    public static final String URL_BASE_UAT = "http://w3u.wwwarehouse.com/gateway/";
    public static final String URL_BASE_RELEASE = "https://w3p.wwwarehouse.com/gateway/";
//    public static final String URL_BASE_DEVOPS = "http://dev.ops.wwwarehouse.com/gateway/";
    public static final String URL_BASE_DEV2 = "http://192.168.6.164:8080/gateway/";
    public static final String URL_BASE_CIT2 = "http://192.168.6.165:8080/gateway/";

    // 不同环境的Web的base URL
    public static final String URL_WEB_BASE_DEV = "http://192.168.6.24/app/";
    public static final String URL_WEB_BASE_CIT = "http://192.168.6.31/app/";
    public static final String URL_WEB_BASE_SIT = "http://sit.xxxxx";
    public static final String URL_WEB_BASE_UAT = "http://w3u.wwwarehouse.com/app/";
    public static final String URL_WEB_BASE_RELEASE = "https://w3p.wwwarehouse.com/app/";
//    public static final String URL_WEB_BASE_DEVOPS = "http://dev.ops.wwwarehouse.com/app/";
    public static final String URL_WEB_BASE_CIT2 = "http://192.168.6.165/app/";

    //  银联后台环境标识，“00”将在银联正式环境发起交易,“01”将在银联测试环境发起交易
    public static final String UNOINPAYMODE = "00";//银联支付模式
    /**
     * 支付宝获取订单信息
     */
    public static final String ALIPAY = "router/api?method=acPay.financialPay&version=1.0.0&t=134333333&w_appid=wh_iphone_1.0";

    /**
     * 微信
     */
    public static final String APP_ID = "wxfbf6e942942b21cc";

    /**
     * 上传文件接口（图片类型：头像）
     */
    public static final String URL_UPLOADS_AVATAR = "uploads?type=avatar&version=1.0.0";
    /**
     * 上传文件接口（图片类型：身份证正面）
     */
    public static final String URL_UPLOADS_IDCARDFRONT = "uploads?type=idcardfront&version=1.0.0";
    /**
     * 上传文件接口（图片类型：身份证反面）
     */
    public static final String URL_UPLOADS_IDCARDBACK = "uploads?type=idcardback&version=1.0.0";
    /**
     * 上传文件接口（图片类型：商品）
     */
    public static final String URL_UPLOADS_ITEM = "uploads?type=item&version=1.0.0";
    /**
     * 上传文件接口（视频类型：工作台）
     */
    public static final String URL_UPLOADS_STATION = "uploads?type=station&version=1.0.0";
    /**
     * 上传文件接口（文件类型）
     */
    public static final String URL_UPLOADS_EXCEL = "uploads?type=commonindustry.excel&version=1.0.0";

    /**
     * token登录
     */
    public static final String URL_LOGIN_WITH_TOKEN = "router/api?method=usercenter.user.loginWithToken&version=1.0.0";

    /**
     * 获取省市区列表数据接口
     */
    public static final String GET_ROUTER_AREA = "router/api?method=icArea.listAllAreas&version=1.0.0";
    /**
     * 地址列表版本号
     */
    public static final String GET_ADDRESS_VERSION = "router/api?method=icArea.getVersion&version=1.0.0";
    /**
     * 获取第四级地址列表接口
     */
    public static final String GET_FOUR_ADDRESS_LIST = "router/api?method=register.icArea.getArea&version=1.0.0";
    /**
     * 扫一扫
     */
    public static final String URL_SCAN_DATA = "router/api?method=PageQRCode.unifyQRCode&version=1.0.0";
    /**
     * 三角链-接收一级管理者/一级监控者 在线情况
     */
    public static final String URL_RECEIVE_MANAGER = "router/api?method=usercenter.manager.receiveManager&version=1.0.0";

    public static final String GET_IMPORT_TOOLS_INDEX = "router/api?method=importTool.gotoImportToolIndexNew&version=1.0.0";

    /**
     * 响应在线消息(被授权人调用)
     */
    public static final String AUTH_ANSWER_ONLINE = "router/api?method=cardAuth.answerOnline&version=1.0.0";
    /**
     * 手机转PC导入统一请求接口地址
     */
    public static final String PC_IMPORT_UNIFY_METHOD = "router/api?method=importCommon.gotoIndex&version=1.0.0";

    /**
     * 上次发货信息的接口地址  也是导入类的任务
     */
    public static final String PC_IMPORT_UPLOAD_SHIPPING_INFORMATION = "router/api?method=deliveryManageService.createOperationAndResultUrl&version=1.0.0";

    /**
     * 获取任务信息
     */
    public static final String URL_GET_OPERATION_INFO = "router/api?method=TsOperationService.getOperation&version=1.0.0";

    public static final String KEY_UPLOAD_LIST = "key_upload_list";
    public static final String kEY_UPLOAD_POSITION = "key_upload_position";
    public static final String KEY_PHOTO_VIEW_PREFIX = "key_photo_view_prefix";

    public static final String UNION_PAY_MODE = "";  //银联支付模式

    public static final String KEY_FORBID_CLICK = "key_forbid_click";  //禁止长按事件

    //二维码内容
    public static final String KEY_SECURITY_QR_CODE = "key_security_qr_code";

    public static final String KEY_INTENT_IMPORT_TOOL_PUSH_CLICK = "key_intent_import_tool_push_click";

    public static int TYPE_F2F = 1, TYPE_SCAN_CODE = 2, TYPE_ADDRESS = 3;//TYPE_F2F面对面 TYPE_SCAN_CODE扫码 TYPE_ADDRESS通讯录

    //扫码后授权
    public static final String KEY_SCAN_AUTHORITY = "key_scan_authority";

    //ARoute跳转路径
    //登录
    public static final String PATH_LOGIN = "/UserCenter/LoginActivity";
    //扫码登录
    public static final String PATH_PC_LOGIN_CONFIRM = "/UserCenter/PCLoginConfirmActivity";
    //二维码不存在或已失效，请重新获取二维码
    public static final String PATH_PC_LOGIN_ERROR = "/UserCenter/PCLoginErrorActivity";
    //指纹解锁
    public static final String PATH_FINGERLOGIN_ACTIVITY = "/UserCenter/FingerLockActivity";
    //手机转PC，完成任务的推送消息，跳转到完成导入的页面
    public static final String PATH_IMPORT_SUCCESS = "/contract/ImportSuccessFragment";
    //跳转到手机转PC的计时页面
    public static final String PATH_DURATION_TIME = "/contract/DurationTimeFragment";
    //三角链-指定管理者/监控者
    public static final String PATH_TC_SUCCESS = "/UserCenter/TCSuccessFragment";
    //扫码分配权限
    public static final String PATH_AUTHORITY_RECEIVE = "/UserCenter/AuthorityReciveFragment";
    //权限分配点击通知查看分配的详情
    public static final String PATH_AUTHORITY_NOTIFICATION = "/UserCenter/AuthNotificationFragment";
    //手机转PC统一跳转页面
    public static final String CONVERT_TOPC_EMPTY_FRAGMENT = "/CommonLib/ConvertToPcEmptyFragment";

    //新版手机转PC跳转页
    public static final String CONVERT_PC_IMPORT_UNIFY_FRAGMENT = "/CommonLib/PcImportUnifyFragment";

    //手机转PC 计时页的短链接地址key
    public static final String KEY_PC_IMPORT_UNIFY_SHORT_URL = "key_pc_import_unify_short_url";

    //手机转PC需要的任务ID 的key
    public static final String KEY_PC_IMPORT_UNIFY_OPERATION_UKID = "key_pc_import_unify_operation_ukid";

    //卡片桌面  传递的参数
    public static final String KEY_CARD_DESK_TASK_DETAILS = "key_card_desk_task_details";
    public static final String KEY_CARD_DESK_FUNCTION_DETAILS = "key_card_desk_function_details";
    //消息中心  传递的参数
    public static final String KEY_MESSAGE_CENTER_FEATURE_DETAILS = "key_message_center_feature_details";

    //导入物和资源
    public static final String KEY_INTENT_IMPORT_TIME = "key_intent_import_time";
    public static final String KEY_INTENT_IMPORT_TOOL = "key_intent_import_tool";
    public static final String KEY_INTENT_IMPORT_TYPE = "key_intent_import_type";

    //权限结果通知
    public static final String KEY_AUTHORITY_NOTIFICATION = "key_authority_notification";

    //   手机转PC统一跳转到空白页的key
    public static final String KEY_CONVERT_TO_PC = "key_convert_to_pc";

    //    手机转PC导入成功推送过来的数据key
    public static final String KEY_CONVER_TO_PC_IMPORT_SUCCESS = "key_convert_to_pc_import_success";

    public static boolean isTakePhotoFinished = true;

    public static final String PERMISSION_BUSINESS_ID_KEY = "businessId";
}